package org.blueforce.web.resource.sample;

import java.util.Arrays;
import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.blueforce.domain.model.sample.Sample;
import org.springframework.stereotype.Component;

@Component
@Path("resource/sample") 
public class SampleResource { 
	@GET 
	@Produces(MediaType.APPLICATION_JSON)
	public List<Sample> findAllSampleType() { 
		return Arrays.asList(
				new Sample().setId(Long.valueOf(1)), 
				new Sample().setId(Long.valueOf(2)), 
				new Sample().setId(Long.valueOf(3)), 
				new Sample().setId(Long.valueOf(4)), 
				new Sample().setId(Long.valueOf(5)), 
				new Sample().setId(Long.valueOf(6)), 
				new Sample().setId(Long.valueOf(7)), 
				new Sample().setId(Long.valueOf(8)), 
				new Sample().setId(Long.valueOf(9)), 
				new Sample().setId(Long.valueOf(10)) 
		); 
	}
}
